import request from "./http";

// 获取歌曲url
export function getSongUrl(params){
    return request({
        url:"/song/url",
        method:"get",
        params
    })
}
// 获取歌曲详情
// /song/detail?ids=347230
export function getSongDetail(params){
    return request({
        url:"/song/detail",
        method:"get",
        params
    })

}

// 获取歌词
// /lyric?id=1811921555
export function getLyric(params){
    return request({
        url:"/lyric",
        method:"get",
        params
    })

}

//全部MV
export function getMvAll(params){
    return request({
        url:"/mv/all",
        method:"get",
        params
    })

}
//获取电台轮播图
export function getDjBanner(params){
    return request({
        url:"/dj/banner",
        method:"get",
        params
    })
}
//电台今日优选
export function getPerfered(params){
    return request({
        url:"/dj/today/perfered",
        method:"get",
        params
    })
}
//获取电台个性推荐
export function getPersonaLize(params){
    return request({
        url:"/dj/personalize/recommend",
        method:"get",
        params
    })
}
//获取mv地址
export function getMvUrl(params){
    return request({
        url:"/mv/url",
        method:"get",
        params
    })
}
//获取mv数据
export function getMvDetail(params){
    return request({
        url:"/mv/detail",
        method:"get",
        params
    })
}
//获取推荐mv
export function getPersonaLized(params){
    return request({
        url:"/personalized/mv",
        method:"get",
        params
    })
}
//mv评论
export function getCommentMv(params){
    return request({
        url:"/comment/mv",
        method:"get",
        params
    })
}
//发送删除评论
export function getComment(params){
    return request({
        url:"/comment",
        method:"get",
        params
    })
}
//给评论点赞
export function getCommentLike(params){
    return request({
        url:"/comment/like",
        method:"get",
        params
    })
}
//收藏mv
export function getMvSub(params){
    return request({
        url:"/mv/sub",
        method:"get",
        params
    })
}
//我的收藏mv
export function getMvSublist(params){
    return request({
        url:"/mv/sublist",
        method:"get",
        params
    })
}
//歌曲评论
export function getCommentMusic(params){
    return request({
        url:"/comment/music",
        method:"get",
        params
    })
}
//用户关注
export function getUserFollows(params){
    return request({
        url:"/user/follows",
        method:"get",
        params
    })
}
//获取热门话题
export function getHotTopic(params){
    return request({
        url:"/hot/topic",
        method:"get",
        params
    })
}
//获取私信
export function getMsgPrivate(params){
    return request({
        url:"/msg/private",
        method:"get",
        params
    })
}
//获取通知
export function getMsgNotices(params){
    return request({
        url:"/msg/notices",
        method:"get",
        params
    })
}
//私信内容
export function getMsgHistory(params){
    return request({
        url:"/msg/private/history",
        method:"get",
        params
    })
}
//热门电台
export function getDjHot(params){
    return request({
        url:"/dj/hot",
        method:"get",
        params
    })
}
//电台分类类型
// export function getDjCatelist(params){
//     return request({
//         url:"/dj/catelist",
//         method:"get",
//         params
//     })
// }
// //电台分类推荐
// export function getDjType(params){
//     return request({
//         url:"/dj/recommend/type",
//         method:"get",
//         params
//     })
// }
